package com.aggregate.pay.sanstar.bean;

import java.math.BigDecimal;
import java.util.Date;

import com.aggregate.pay.sanstar.enums.PayStatus;

/**
 * 统一支付接口－响应参数
 * @author Moyq5
 * @date 2018年9月3日
 */
public class PayOrderResult {

	/**
	 * 商户自定义订单号，同一商户唯 一，原样返回。长20，必填
	 */
	private String cusOrderNo;
	/**
	 * 渠道平台订单号，必填
	 */
	private String orderNo;
	/**
	 * 支付机构订单号，选填
	 */
	private String traOrderNo;
	/**
	 * 支付地址。
	 * 扫码支付时为二维码内容，商户生成二维码客户扫码进行付款；
	 * 网关支付时为支付网关地址，客户访问该地址跳转到支付网关完成支付
	 */
	private String payUrl;
	/**
	 * 支付状态，必填
	 */
	private PayStatus payStatus;
	/**
	 * 支付完成时间，选填
	 */
	private Date payTime;
	/**
	 * 订单金额：分，必填
	 */
	private BigDecimal amount;
	/**
	 * 实付金额：分，必填
	 */
	private BigDecimal payAmount;
	public String getCusOrderNo() {
		return cusOrderNo;
	}
	public void setCusOrderNo(String cusOrderNo) {
		this.cusOrderNo = cusOrderNo;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public String getTraOrderNo() {
		return traOrderNo;
	}
	public void setTraOrderNo(String traOrderNo) {
		this.traOrderNo = traOrderNo;
	}
	public String getPayUrl() {
		return payUrl;
	}
	public void setPayUrl(String payUrl) {
		this.payUrl = payUrl;
	}
	public PayStatus getPayStatus() {
		return payStatus;
	}
	public void setPayStatus(PayStatus payStatus) {
		this.payStatus = payStatus;
	}
	public Date getPayTime() {
		return payTime;
	}
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public BigDecimal getPayAmount() {
		return payAmount;
	}
	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}
	
}
